- type = local_assigns.fetch(:type)
- return unless type == :issues || type == :boards || type == :issues_analytics

#js-dropdown-epic.filtered-search-input-dropdown-menu.dropdown-menu
  %ul{ 'data-dropdown' => true }
    %li.filter-dropdown-item{ 'data-value' => 'None' }
      %button.btn.gl-button.btn-link
        = _('None')
    %li.filter-dropdown-item{ 'data-value' => 'Any' }
      %button.btn.gl-button.btn-link
        = _('Any')
    %li.divider.droplab-item-ignore
  %ul.filter-dropdown{ data: { dropdown: true, dynamic: true } }
    %li.filter-dropdown-item{ data: { value: '{{id}}' } }
      %button.btn.gl-button.btn-link.dropdown-epic-button
        %span= "{{title}}"
        %span.reference= "&" + "{{id}}"
